home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
mac
/
Shout3Ddemo
/
S3D_2E1.1.sit
/
Shout3d_2.0
/
docs
/
workflow_tutorial
/
references
/
shoutbox2.s3d
< prev
next >
Wrap
Text File
|
2000-11-13
|
2KB
|
82 lines
DEF TIMER TimeSensor {
cycleInterval 10
loop TRUE
startTime 0
}
DEF INTERP OrientationInterpolator {
key [0, 1.0]
keyValue [
0 1 0 0,
0 1 0 3.14
]
}
DEF TRANS Transform {
translation 0 0 0
rotation 0 1 0 0
children [
Shape {
appearance [
MultiAppearance {
material Material {
diffuseColor 0.5373 0.1961 0.1961
specularColor 0.045 0.045 0.045
shininess 0.25
transparency 0
}
diffuseMap DiffuseMap {
texture ImageTexture {
url "shout3dlogo.gif"
}
}
}
]
geometry MultiMesh {
coord Coordinate {
point [
-50 0 50, 50 0 50, -50 0 -50, 50 0 -50,
-50 100 50, 50 100 50, -50 100 -50, 50 100 -50
]
}
coordIndex [
0 2 3 -1 3 1 0 -1 4 5 7 -1 7 6 4 -1
0 1 5 -1 5 4 0 -1 1 3 7 -1 7 5 1 -1
3 2 6 -1 6 7 3 -1 2 0 4 -1 4 6 2 -1
]
smoothingIndex [
2 -1 2 -1 3 -1 3 -1 4 -1 4 -1
5 -1 5 -1 6 -1 6 -1 7 -1 7 -1
]
appearanceIndex [
1 1 0 0 4 4 3 3 5 5 2 2
]
textureMappings [
TextureMapping {
texCoord TextureCoordinate {
point [
1 0, 0 0, 0 0, 0 0, 1 1, 0 1,
0 1, 0 1, 1 0, 1 1, 0 1, 0 1
0 0, 1 0, 0 0, 1 0, 1 1, 1 1,
0 1, 0 0, 0 0, 1 0, 1 1, 1 1,
0 1, 0 0, 0 0, 1 0, 1 1, 1 1,
0 0, 1 0, 1 1, 1 1, 0 0, 1 1
]
}
texCoordIndex [
8 9 10 -1 11 12 13 -1 14 15 16 -1
17 18 19 -1 20 21 22 -1 23 24 25 -1
26 27 28 -1 29 5 1 -1 30 31 32 -1
33 7 3 -1 34 0 35 -1 4 6 2 -1
]
}
]
}
}
]
}
ROUTE TIMER.fraction_changed TO INTERP.set_fraction
ROUTE INTERP.value_changed To TRANS.set_rotation